//
//  WNConfigure&Noti.swift
//  WalkNovel
//
//  Created by Kevin on 2023/7/4.
//

import UIKit

struct WNConfigure {
    
    struct WNURL {
        /// 使用者協定
        static let wn_Agreement     = server.H5Host + "/Service_Agreement.html"
        /// 隱私政策
        static let wn_Privacy       = server.H5Host + "/Privacy_Policy.html"
        /// 联系我们
        static let wn_Contact       = server.H5Host + "/Contact_Us.html"
        /// 抽奖规则
        static let wn_DrawRule      = server.H5Host + "/DrewRule.html"

    }
    
    struct Keychain {
        static let serviceName      = "com.zuihai.novel"
        
        static let userId           = "userId"
        static let userIdOrderId    = "userIdOrderId"
        static let userIdSubOrderId = "userIdSubOrderId"

        static let uuid             = "uuid"
        static let uuidOrderId      = "uuidOrderId"
        static let uuidSubOrderId   = "uuidSubOrderId"
    }
    
    /// Bugly
    struct Bugly {
        static let appId            = "2be8344fcd"
    }
    
    struct Google {
        static let clientID         = ""
    }

    struct Facebook {
        static let appId            = "1295004531104153"
    }
    
    struct ChatGPT {
        static let appKey           = ""
    }
}

struct WNNotiName {
    /// 登录通知
    static let loginNoti            = NSNotification.Name("loginNoti")
    /// 收藏通知
    static let collectNoti          = NSNotification.Name("collectNoti")
    /// 多个收藏通知
    static let collectArrNoti       = NSNotification.Name("collectArrNoti")
    /// 评论通知
    static let chapterReadNoti      = NSNotification.Name("chapterReadNoti")
    /// 充值支付
    static let rechargeNoti         = NSNotification.Name("rechargeNoti")
    /// 阅读任务充值支付
    static let readTaskNoti         = NSNotification.Name("readTaskNoti")
    /// 订阅支付
    static let subscribeNoti        = NSNotification.Name("subscribeNoti")

}
